package zz.demo.springCloud.wechat.feignClient;

import feign.Headers;
import feign.RequestLine;
import zz.demo.springCloud.wechat.vo.WeChatTextVO;

/**
 * Created by zhangzheng on 2017-11-15.
 */
/*
    feign 的 requestBody 目前只支持一个对象。
 */
public interface WeChatFeignClient {
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestLine("POST /wechat/back/text")
    String receivingWeChatText(WeChatTextVO weChatTextVO);
}
